<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="__PUBLIC__/Image/logo.ico">
	
    <title>义达生态旅游</title>
     <!-- Bootstrap core CSS -->
    <link href="__PUBLIC__/Css/lib/bootstrap.min.css" rel="stylesheet" type="text/css">
    <link href="__PUBLIC__/Css/Index/common.css" rel="stylesheet" type="text/css">
    <link href="__PUBLIC__/Css/Index/cover.css" rel="stylesheet" type="text/css">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    
    <script src="__PUBLIC__/Js/lib/jquery-1.11.2.min.js"></script>
	<script src="__PUBLIC__/Js/lib/bootstrap.min.js"></script>
	<script src="__PUBLIC__/Js/Index/common.js"></script>
	
	<script type="text/javascript">
$(function(){
	var windowHeight = $(window).height();
	var windowWidth = $(window).width();
	$("body").css("height", windowHeight);
	$("body").css("width", windowWidth);
	
	$(window).resize(function(){
		windowHeight = $(window).height();
		windowWidth = $(window).width();
		$("body").css("height", windowHeight);
		$("body").css("width", windowWidth);
	});
	
	// 快速注册
	$("#fast-register").click(function(){
		var phone = $("#registerPhone").val();
		if (!phone.match(/1[3-9]\d{9}$/)){
			alert("请输入正确的手机号！");
			return false;
		} else {
			$("#registerModal").modal();
		}
		// ===== 数据合法性检查 =========
		// 账户信息(手机号)
		$("#registerModal #username").val(phone);
	});
});

</script>
	
  </head>
	<body style="padding:0; 
	background-image:url(__PUBLIC__/Image/Index/bg_login.png);
	background-size:99.9% 99%;background-repeat:no-repeat;"> 
<!-- 登录模态框（Modal） start-->
<include file="Public:login"/>
<!-- 登录模态框（Modal）end -->

<!-- 注册模态框（Modal） start-->
<include file="Public:register"/>
<!-- 注册模态框（Modal）end -->

<div class="container-fluid" style="height:100%;">
　　　　	<div class="bg_">
           <div class="ma_a1">
		       <ul class="u1"><li><img src="__PUBLIC__/Image/Index/logo.png" /></li></ul>
			   <ul class="u2">
			   		<li>
			   			<a class="lgn btn btn-default" href="#loginModal" data-toggle="modal">登录</a>
			   		</li>
		   		</ul>
		   </div>
		   <div class="ma_a2">
		       <p class="p1">义达</p>
			   <p class="p2">让度假更方便</p>
			   <input class="ipt_1" type="text" value="请输入手机号" id="registerPhone" onFocus="if(value==defaultValue){value='';this.style.color='#000'}" onBlur="if(!value){value=defaultValue;this.style.color='#999'}" style="color:#999999" /> <br />
		   <a class="ipt_2 btn btn-default" id="fast-register" data-toggle="modal">快速注册</a>
	   </div>
	   <div class="ma_a3">
	       <div class="a3_a">
		       <p class="p3">义达小贴士</p>
			   <p class="p4">{$content}<!-- 使用义达网站系统能使您更轻松的选择您的度假目的地，让假期来的更猛烈些吧。 --></p>
			   <p class="p5"> <a href="{:U('Index/showIndex')}">更多&gt;&gt; </a></p>
		   </div>
	   </div>
      </div> 
  </div>
　　</body>
</html>
